package com.kgc.novel.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kgc.novel.common.Res;
import com.kgc.novel.domain.entity.BookAdvice;
import com.kgc.novel.domain.param.BookAdviceParam;

import java.util.List;

public interface BookAdviceService extends IService<BookAdvice> {
    Res<BookAdvice> selectAdviceAll(BookAdviceParam bookAdviceParam);

    Res getSingleAdvice(String id);

    Res addAdvice(BookAdvice bookAdvice);

    Res updateAdvice(BookAdvice bookAdvice);

    Res deleteAdvice(String id);

    Res deleteAllAdvice(List<String> ids);
}
